package cm.day04;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Test2 {
    public static void main(String[] args) {

        SimpleDateFormat sdf1=new SimpleDateFormat("yyyy年MM月dd日 HH:mm:ss");
        long time = System.currentTimeMillis();

        String strDate2 = sdf1.format(time);
        System.out.println(strDate2);


        //解析日期字符串



    }
}
